{extend name="base_iframe" /}


{block name="body"}


	<form class="form-horizontal ajax-form"  method="post" >

		<div class="row box-ota-info">
			<div class="col-md-12">
				<div class="box-body">


					<div class="form-group">
						<div class="col-sm-2"></div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">资讯标题</label>
						<div class="col-sm-8">
							<input type="text" class="form-control" name="new_title" placeholder="请输入资讯标题" value="" />
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">资讯分类</label>
						<div class="col-sm-4" id="cate-div">
							<select class="form-control cate-select" name="cate_id">
								<option value="">请选择资讯分类</option>}
								{volist name="cateinfo" id="v"}
									<option value="{$v.id}">{$v.level ? "|" : ""} {:str_repeat("——", $v.level)} {$v.cate_name}</option>
								{/volist}
							</select>
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">摘要</label>
						<div class="col-sm-8">
							<textarea class="form-control" name="abstract" placeholder="请输入摘要"></textarea>
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">作者</label>
						<div class="col-sm-2">
							<input type="text" class="form-control" name="author" placeholder="请输入作者" value="" />
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">资讯来源</label>
						<div class="col-sm-4" id="cate-div">
							<select class="form-control cate-select" name="source">
								<option>原创</option>
								<option>完全转载</option>
								<option>修改后转载</option>	
							</select>
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">排序值</label>
						<div class="col-sm-2">
							<input type="number" class="form-control" name="sort_num" placeholder="1到50" value="50" />(1代表置顶)
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">资讯内容</label>
						<div class="col-sm-8">
							<script id="content" name="content" type="text/plain" style="width:100%;height:30%;"></script>
						</div>
					</div>
                


				</div>
			</div>
		</div>
	</form>


{/block}


{block name="script"}
	<script type="text/javascript" src="__AJS__/article/add.js"></script>
{/block}
